package com.qf.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.listener
 * @Description:
 * @Date 2022/7/5 11:32
 */
@Component
@RabbitListener(queues = "testQueue3")
public class Listener3 {
    @RabbitHandler
    public void messageHandler(String str){
        System.out.println("=====监听器3====="+str);
    }
}
